body {
    margin: 0;
    padding: 0;
    background: #F5F5DC;
}
a{
    cursor:pointer;
}
.main {
    width: 700px;
    margin: auto;
    margin-bottom: 30px;
}

.item-top {
    height: 65px;
    position: fixed;
    top: 0;
    width: 700px;
    z-index: 1;
    background: #f5f5dc63;
}

.item-top .head-img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: lightblue;
    padding: 3px;
    float: left;
    margin-left: 5px;
    margin-top: 5px;
}

.item-top .head-img img {
    border-radius: 50px;
    width: 50px;
    height: 50px;
}

.item-top .author {
    height: 50px;
    float: left;
    margin-top: 5px;
    margin-left: 5px;
}

.item-top .author .username {
    max-width: 200px;
    height: 25px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-top .author .createTime {
    max-width: 200px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
}

.item-top .star {
    margin-top: 15px;
    width: auto;
    float: right;
    margin-left: 150px;
}

.item-top .star a {
    display: block;
    width: 80px;
    height: 25px;
    padding: 5px;
    line-height: 25px;
    border-radius: 3px;
    text-align: center;
    color: white;
    background: #00d1b2;
}

.item-top .star .orange{
    background:#ff8d00;
}
.item-top .hide {
    width: auto;
    height: 20px;
    margin: 20px;
    float: right;
}

.item-top .hide:hover {
    color: #00d1b2;
}

.center {
    position: relative;
    margin-top: 70px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 5px #e5e5e5;
}

.center .title {
    width: 680px;
    font-size: 25px;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

#show {
    width: 680px;
    height: auto;
    padding: 10px;
}

.foot {
    width: 100%;
    height: 50px;
}

.foot a {
    height: 34px;
    line-height: 34px;
    float: left;
    font-size: 16px;
    color: #afafaf;
    text-align: center;
    width: 233.3px;
    margin-top: 10px;
    display: block;
}
.foot .red{
    color:#fa4d6c;
}

.foot .yellow{
    color:#ffc761;
}

.foot .blue{
    color:#1b7eb8;
}
.foot .grey{
    color: #afafaf;
}

.foot a:hover{
    border-bottom: 6px solid #0097db;
}

.foot a:first-child{
    border-radius: 0 0 0 5px;
}

.foot a:last-child{
    border-radius: 0 0 5px 0px;
}

.foot a .num {
    font-size: 12px;
    padding-left: 10px;
}


.bottom {
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px #e5e5e5;
    background: white;
}

.bottom .up {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #f3f3f3;
}

.bottom .msg {
    min-height: 50px;
    padding-left: 10px;
}

.bottom .msg .comment-item {
    width: 100%;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 10px;
}

.bottom .msg .down {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

#show img {
    width: 100%;
}

#md-area{
    display:none;
}
video{
    width:100%;
}
code{
    width:100%;
    white-space: normal;
}
.appendix {
    display: block;
    background: #55bbdc;
    width: 300px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 12px;
    border-radius: 5px;
    margin: auto;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.three-msg-box{
    margin-top: 10px;
    border-radius: 5px;
    height: 50px;
    display: none;
    justify-content: center;
}

.comment-msg{
    height: auto;
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 0 5px #e5e5e5;
    background: white;
}

.three-msg-box img{
    display: block;
    width: 30px;
    float: left;
    height: 30px;
    border-radius: 30px;
    justify-content: center;
    margin-top: 10px;
}

.three-msg-box .operation{
    color:grey;
    height: 30px;
    width: 100%;
    font-size: 18px;
}
.three-msg-box .operation a{
    display: block;
    color: grey;
    padding-right: 5px;
    margin-right: 15px;
    padding-left: 5px;
    float: left;
}

.three-msg-box .operation a:last-child{
    float: right;
    padding-right: 5px;
}

.three-msg-box .up-contain{
    width: 100%;
}

.up-contain textarea{
    width: 630px;
    height: 50px;
    max-height: 100%;
    border: 1px solid #e6e6e6;
    margin: 5px;
    padding: 10px;
    display: block;
    resize: none;
}

.three-msg-box .button{
    display: block;
    width: 100px;
    height: 30px;
    float: right;
    line-height: 30px;
    text-align: center;
    color: white;
    background: #00d1b2;
    border-radius: 5px;
    margin-right: 5px;
}
.comment-item .comment-top{
    width: 100%;
    overflow: hidden;
}

.comment-item .comment-top .comment-head{
    height: 50px;
    width: 50px;
    float: left;
    margin: 5px;
    border-radius: 50px;
}

.comment-top .comment-head img{
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.comment-item .comment-top .comment-author{
    float: left;
    margin: 5px;
    font-size: 14px;
}
.comment-item .comment-top .operation{
    float: right;
    margin: 10px;
    padding: 10px;
    font-size: 14px;
}
.comment-top .operation:hover{
    color:#00d1b2;
}
.comment-top .comment-author .comment-username{
    padding-bottom: 10px;
    font-weight: bold;
}

.comment-author .comment-createTime{
    font-size: 12px;
}

.comment-content{
    padding-left: 62px;
    padding-top: 5px;
    padding-right: 50px;
}
.comment-bottom{
    height: 30px;
    padding-left: 62px;
}
.comment-bottom .storey{
    float: left;
    padding-top: 7px;
    font-size: 14px;
    color: #9b9b9b;
}

.comment-bottom .thumbs,.comment-bottom .comment{
    float: right;
    margin-right: 26px;
    padding: 5px;
    color: #afafaf;
    display: block;
}

.comment-bottom .blue{
    color: #1b7eb8;
}

.comment-bottom span{
    padding-left: 10px;
    font-size: 12px;
}

.sub-comment{
    margin-left: 62px;
    width: 608px;
    background: #fafafa;
    overflow: hidden;
}
.sub-comment .input-box{
    position: relative;
    display: none;
}
.input-box .sub-content{
    width: 565px;
    padding: 10px;
    margin: 10px;
    border: 1px solid lightgrey;
    border-radius: 3px;
}
.sub-contain .span-grey{
    color: #8e9fb5;
}
.sub-contain .span-brown{
    color: brown;
}
.sub-contain .target-name{
    position: relative;
    right: 5px;
}
.sub-contain .comment-to-user{
    background: white;
}
.sub-comment .sub-item{
    width: 587px;
    margin: 10px;
    margin-top: 0;
    overflow: hidden;
    border-top: 1px solid #efefef;
}
.sub-item .sub-head{
    height: 40px;
}
.sub-head .sub-img{
    display: block;
    margin-top: 5px;
    width: 30px;
    height: 30px;
    float: left;
    border-radius: 30px;
}
.sub-head .sub-name{
    float: left;
    padding: 10px;
    font-size: 14px;
}
.sub-head .sub-right{
    display: block;
    float: right;
    padding: 9px;
    font-size: 14px;
}
.sub-item .sub-contain{
    padding: 10px;
    padding-left: 0;
    word-wrap: break-word;
    word-break: break-all;
}
.sub-item .sub-bottom{
    height: 20px;
}

.sub-bottom .sub-time{
    float: left;
    font-size: 12px;
}
.sub-bottom .sub-support,.sub-bottom  .sub-comment-icon{
    color: #afafaf;
    float: right;
    display: block;
    margin-left: 40px;
}
.sub-bottom .blue{
    color:#1b7eb8;
}
.sub-bottom a span{
    padding-left: 10px;
    font-size: 12px;
}
.input-box .submit{
    display: block;
    width: 100px;
    height: 37px;
    line-height: 36px;
    font-size: 14px;
    text-shadow: 1px 1px 3px #222222;
    position: absolute;
    right: 11px;
    top: 10px;
    text-align: center;
    background: #3975a8;
    border-radius: 0px 3px 3px 0px;
    color: white;
}
.md-upload {
    position: fixed;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.md-dialog {
    margin: 80px auto;
    width: 600px;
    background-color: #f6f6f6;
    border-radius: 6px;
}

.md-dialog .dialog-top {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #eee;
    min-height: 16px;
    width: 570px;
}

.md-dialog .dialog-content {
    padding: 20px 20px 20px;
    background-color: #fcfcfc;
}

.md-dialog .dialog-content .warning {
    background-color: #00d1b221;
    color: #00d1b2;
    padding: 15px;
    margin-bottom: 21px;
    border: 1px solid rgba(232, 76, 61, 0.15);
    border-radius: 4px;
    line-height: 2;
}

.md-dialog .dialog-content .desc {
    height: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.md-dialog .dialog-content .input-url {
    position: relative;
    display: table;
    width: 100%;
    border-collapse: separate;
}

.input-url .icon {
    display: table-cell;
    top: 0;
    width: 100px;
    height: 30px;
    font-size: 16px;
    color: white;
    text-align: center;
    border-radius: 50px 0 0 50px;
    background: #00d1b2;
}

.input-url .icon .btn {
    position: relative;
    top: 3px;
    font-size: 20px;
}

.input-url .input {
    border: 1px solid lightgrey;
    border-radius: 0px 50px 50px 0px;
    font-size: 17px;
    height: 32px;
    width: 400px;
    padding-left: 22px;
    border-left: 0;
}

.md-dialog .dialog-bottom {
    margin-top: 0;
    padding: 10px 10px 20px 10px;
    text-align: right;
}

.md-dialog .dialog-bottom .button {
    padding: 5px;
    width: 100px;
    border-radius: 5px;
    border: 1px solid lightgrey;
    margin-left: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

.md-dialog .dialog-bottom .button:last-child {
    color: white;
    border: 0;
    background: #00d1b2;
}

input::-webkit-input-placeholder { /* WebKit browsers 适配谷歌 */
    color: #BDCADA;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 适配火狐 */
    color: #BDCADA;
}
input::-moz-placeholder { /* Mozilla Firefox 19+ 适配火狐 */
    color: #BDCADA;
}
input:-ms-input-placeholder { /* Internet Explorer 10+  适配ie*/
    color: #BDCADA;
}

.storey span{
    padding-left: 0px;
}

.comment-item p img{
    max-width: 100px;
    max-height: 100px;
}

pre{
    background: #0d2031;
    font-family: verdana;
    border-radius: 3px;
    padding: 10px;
}

pre code{
    color: #f7f7f7;
    font-family: verdana;
}